package com.ruoyi.web.controller.site;

import com.ruoyi.common.core.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;



/**
 * 前端站点
 *
 * @author ruoyi
 */
@Controller
@RequestMapping("/site")
public class SiteController extends BaseController {

    private String prefix = "site";

    /**
     * 首页
     */
    @GetMapping("/index")
    public String index()
    {
        return prefix + "/index";
    }

    /**
     * 资讯
     */
    @GetMapping("/news")
    public String news()
    {
        return prefix + "/news";
    }

}
